package com.microservices.auth.config;

import org.springframework.security.config.annotation.web.builders.HttpSecurity;

/**
 * Spring Security安全配置
 * <p>
 * 移除静态资源目录的安全控制，避免Spring Security默认禁止HTTP缓存的行为
 *
 * @author icyfenix@gmail.com
 * @date 2020/4/8 0:09
 **/
public class WebSecurityConfig
//        extends WebSecurityConfigurerAdapter
{
//
//    @Override
//    protected void configure(HttpSecurity http) throws Exception {
//        http.headers().cacheControl().disable();
//    }

}
